/* 覆盖层 */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1200;
  color: var(--text);
}

/* 容器 */
.auth-modal-container {
  background: var(--card);
  border-radius: 24px;
  max-width: 960px;
  width: 100%;
  height: 600px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.auth-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.auth-modal-close-btn:hover {
  color: #1d5fff;
}

/* 左侧面板 */
.auth-modal-left {
  width: 50%;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--card);
}
.auth-modal-left-content {
  position: relative;
  z-index: 1;
}
.auth-modal-decor {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}
.auth-modal-decor.decor-1 {
  top: -96px;
  right: -96px;
  width: 384px;
  height: 384px;
  opacity: 0.3;
}
.auth-modal-decor.decor-2 {
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  opacity: 0.2;
}

.auth-modal-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.auth-modal-subtitle {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 48px;
}

.primary-btn {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 999px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.primary-btn:hover {
  background: var(--muted);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
.primary-btn.full-width {
  width: 100%;
}
.mt-6 { margin-top: 24px; }

/* 右侧面板 */
.auth-modal-right {
  width: 50%;
  background: var(--card);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-modal-right-inner {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.auth-modal-right-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  text-align: center;
}

.social-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.social-btn:hover { border-color: var(--text); }
.social-btn svg {
  width: 28px;
  height: 28px;
  color: var(--text);
}
.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.auth-modal-tip {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}

.form-group { display: grid; gap: 16px; }
.form-input {
  width: 100%;
  padding: 16px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
}
.form-input:focus {
  box-shadow: 0 0 0 2px var(--text) inset;
}

.auth-modal-forgot {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
  cursor: pointer;
}
.auth-modal-forgot:hover { color: var(--text); }

/* 响应式调整 */
/* 移除移动端媒体查询，统一桌面样式 */
